﻿using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;
namespace LS.Entitys
{
    /// <summary>
    /// 菜单功能管理
    /// </summary>
    [Table("sys_menufunction")]
    public class SysMenuFunctionEntity
    {
        /// <summary>
        /// 主键
        /// <summary>
        public long Id { get; set; }
        /// <summary>
        /// 菜单代码 Menucode=>menukey
        /// </summary>
        public string MenuCode { get; set; }
        /// <summary>
        /// 功能代码Funcode
        /// </summary>
        public string FunCode { get; set; }
    }
    public class SysMenuFunctionEntityMapper : ClassMapper<SysMenuFunctionEntity>
    {
        public SysMenuFunctionEntityMapper()
        {
            Table("sys_menufunction");
            AutoMap();
        }
    }

}
